﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Znice
{
    /// <summary>
    /// 工具栏菜单配置
    /// </summary>
    public enum ToolbarMode : byte
    {
        /// <summary>
        /// 默认
        /// </summary>
        Default,
        /// <summary>
        /// 简洁
        /// </summary>
        Simple,
        /// <summary>
        /// 全部
        /// </summary>
        Full,
        /// <summary>
        /// 自定义
        /// </summary>
        Customer
    }

    /// <summary>
    /// 工具栏按钮
    /// </summary>
    public enum ToolBar : byte
    {
        /// <summary>
        /// 字体
        /// </summary>
        [Description("\ue726")]
        Font,

        /// <summary>
        /// 加粗
        /// </summary>
        [Description("\ue601")]
        Bold,

        /// <summary>
        /// 斜体
        /// </summary>
        [Description("\ue602")]
        Italic,

        /// <summary>
        /// 字号增大
        /// </summary>
        [Description("\uee28")]
        PlusFontSize,

        /// <summary>
        /// 字号减小
        /// </summary>
        [Description("\uee27")]
        MinusFontSize,

        /// <summary>
        /// 删除线
        /// </summary>
        [Description("\ue606")]
        StrikeThrough,

        /// <summary>
        /// 下划线
        /// </summary>
        [Description("\ue607")]
        UnderLine,

        /// <summary>
        /// 下标
        /// </summary>
        [Description("\ue608")]
        SubScript,

        /// <summary>
        /// 上标
        /// </summary>
        [Description("\ue609")]
        SuperScript,

        /// <summary>
        /// 插入表格
        /// </summary>
        [Description("\ue60a")]
        Table,

        /// <summary>
        /// 文本背景色
        /// </summary>
        [Description("\ue619")]
        BackgroundColor,

        /// <summary>
        /// 文本字体色
        /// </summary>
        [Description("\ue704")]
        ForeColor,

        /// <summary>
        /// 居左
        /// </summary>
        [Description("\ue60b")]
        AlignLeft,

        /// <summary>
        /// 居中
        /// </summary>
        [Description("\ue60d")]
        AlignCenter,

        /// <summary>
        /// 居右
        /// </summary>
        [Description("\ue60c")]
        AlignRight,

        /// <summary>
        /// 无序列表
        /// </summary>
        [Description("\ue610")]
        UnorderedList,

        /// <summary>
        /// 缩进对齐
        /// </summary>
        [Description("\ue612")]
        Indent,

        /// <summary>
        /// 向外缩进对齐
        /// </summary>
        [Description("\ue613")]
        Outdent,

        /// <summary>
        /// 链接
        /// </summary>
        [Description("\ue614")]
        Link,

        ///// <summary>
        ///// 取消链接
        ///// </summary>
        //[Description("\ue615")]
        //UnLink,

        /// <summary>
        /// 上传图片
        /// </summary>
        [Description("\ue618")]
        Picture,

        /// <summary>
        /// 打印
        /// </summary>
        [Description("\ue61a")]
        Print,

        /// <summary>
        /// 撤销
        /// </summary>
        [Description("\ue61b")]
        Undo,

        /// <summary>
        /// 重做
        /// </summary>
        [Description("\ue616")]
        Redo,

        /// <summary>
        /// 删除
        /// </summary>
        [Description("\ue617")]
        Delete,

        /// <summary>
        /// 打开
        /// </summary>
        [Description("\ue603")]
        Open,

        /// <summary>
        /// 另存为
        /// </summary>
        [Description("\ue604")]
        SaveAs
    }
}
